<?php
namespace slinks\core\dependencyInjectionExt\annotation;

use slinks\common\addendum\Annotation;
use slinks\core\DependencyInjection\ContainerInterface;

/** 
 * This specifies the scope of service to be placed into the symfony DI container. 
 * The only possible scopes are "singleton" (Default) and "prototype" 
 * @Target({"class"}) 
 * */
class Scope extends Annotation{
	public $value = ContainerInterface::SCOPE_CONTAINER;
	
	/**
	 * @var Boolean if true then the service will be a public service if false a private service.
	 */
	public $public = true;
}